// source --> https://www.ramanaidufilmschool.net/wp-content/plugins/ays-popup-box/public/js/ays-pb-public.js?ver=4.2.3 (function( $ ) { 'use strict'; /** * All of the code for your public-facing JavaScript source * should reside in this file. * * Note: It has been assumed you will write jQuery code here, so the * $ function reference has been prepared for usage within the scope * of this function. * * This enables you to define handlers, for when the DOM is ready: * * $(function() { * * }); * * When the window is loaded: * * $( window ).load(function() { * * }); * * ...and/or other possibilities. * * Ideally, it is not considered best practise to attach more than a * single DOM-ready or window-load handler for a particular page. * Although scripts in the WordPress core, Plugins and Themes may be * practising this, we should strive to set a better example in our own work. */ $(document).ready(function (){ // Answer Sound Muter $(document).on('click', '.ays_music_sound', function() { var $this = $(this); var audioEl = $(document).find('.ays_pb_sound').get(0); if($this.hasClass('ays_sound_active')){ audioEl.volume = 0; $this.find('.ays_pb_fa_volume').remove(); $this.html(pbLocalizeObj.icons.volume_mute_icon); $this.find('.ays_pb_fa_volume').addClass('ays_pb_fa_volume_off').removeClass('ays_pb_fa_volume'); $this.removeClass('ays_sound_active'); } else { audioEl.volume = 1; $this.find('.ays_pb_fa_volume_off').remove(); $this.html(pbLocalizeObj.icons.volume_up_icon); $this.find('.ays_pb_fa_volume_off').addClass('ays_pb_fa_volume').removeClass('ays_pb_fa_volume_off'); $this.addClass('ays_sound_active'); } }); $(document).on('click', '#ays_pb_dismiss_ad', function(){ var expTime = $(this).parent().data('dismiss'); var id = $(this).parent().data('id'); if(expTime != ''){ set_cookies('ays_pb_dismiss_ad_'+id, 'ays_pb_dismiss_ad_'+id, parseInt(expTime)); }else{ var expiryDate = new Date(); expiryDate.setMonth(expiryDate.getMonth() + 1); set_cookies('ays_pb_dismiss_ad_'+id, 'ays_pb_dismiss_ad_'+id, expiryDate); } $(document).find('.ays-pb-modal-close_'+id).trigger('click'); }); function set_cookies( cname, cvalue, exdays ) { var expires = 'expires=' + (new Date(Date.now() + exdays)).toUTCString(); document.cookie = cname + '=' + cvalue + ';' + expires + ';path=/'; } var isMobileDevice = false; if (window.innerWidth < 768) { isMobileDevice = true; } $('div.ays-pb-modals').each(function() { var classValue = $(this).attr('class'); var id = classValue.match(/av_pop_modals_(\d+)/)[1]; var popup = JSON.parse(atob(window.aysPopupOptions[id])).popupbox; var popupOptions = JSON.parse(popup.options); var actionType = popup.action_button_type; var openDelay = popup.delay; var scrollTop = popup.scroll_top; var template = popup.view_type; var height = popup.height; var minHeight = popupOptions.pb_min_height; var borderSize = (typeof popup.bordersize != 'undefined') ? popup.bordersize : 0; var enableborderSizeMobile = (typeof popupOptions != 'undefined' && typeof popupOptions.enable_bordersize_mobile != 'undefined' && popupOptions.enable_bordersize_mobile == 'on') ? true : false; if (typeof popupOptions != 'undefined' && typeof popupOptions.bordersize_mobile != 'undefined') { var borderSizeMobile = popupOptions.bordersize_mobile; } else { var borderSizeMobile = borderSize; } if (!enableborderSizeMobile) { borderSizeMobile = borderSize; } var enableFullScreen = popupOptions.enable_pb_fullscreen == 'on' ? true : false; var closeButtonPosition = popupOptions.close_button_position; var closeButtonText = popupOptions.close_button_text; var closeButtonImage = popupOptions.close_button_image; var enableOpenDelayMobile = popupOptions.enable_open_delay_mobile == 'on' ? true : false ; var enableScrollTopMobile = popupOptions.enable_scroll_top_mobile == 'on' ? true : false ; var enableCloseButtonPositionMobile = popupOptions.enable_close_button_position_mobile == 'on' ? true : false ; var enableCloseButtonTextMobile = popupOptions.enable_close_button_text_mobile == 'on' ? true : false ; $(document).find('.ays-pb-modal-close_'+id).on('click', function() { $(document).find('input#ays-pb-modal-checkbox_' + id).trigger('change'); }) var formattedBorderSize = borderSize; if (isMobileDevice) { if (enableCloseButtonPositionMobile) { closeButtonPosition = popupOptions.close_button_position_mobile; } if (enableCloseButtonTextMobile) { closeButtonText = popupOptions.close_button_text_mobile; } if (enableOpenDelayMobile) { openDelay = popupOptions.open_delay_mobile; } if (enableScrollTopMobile) { scrollTop = popupOptions.scroll_top_mobile; } if (enableborderSizeMobile) { formattedBorderSize = borderSizeMobile; } height = popupOptions.mobile_height ? popupOptions.mobile_height : popup.height; enableFullScreen = false; } if (actionType == 'both' || actionType == 'pageLoaded') { if (openDelay == 0 && scrollTop == 0) { $(document).find('input#ays-pb-modal-checkbox_' + id).prop('checked', true); } } if (enableFullScreen) { height = window.innerHeight; } setCloseButtonPosition(template, id, height, minHeight, formattedBorderSize, enableFullScreen, closeButtonPosition, closeButtonImage); setCloseButtonText(closeButtonText, closeButtonImage, id, template); }); function setCloseButtonPosition(template, id, height, minHeight, borderSize, enableFullScreen, closeButtonPosition, closeButtonImage) { if (template !== 'default' && template !== 'lil' && template !== 'image' && template !== 'template' && template !== 'video' && template !== 'minimal') { return false; } var heightForPosition = height; if (minHeight > height) { heightForPosition = minHeight; } var closeButtonPositionValue = {}; if (template == 'default') { var aysConteiner = parseInt(heightForPosition); var h2Height = $(document).find('.ays-pb-modal_' + id + ' h2').outerHeight(true); var hrHeight = $(document).find('.ays-pb-modal_' + id + ' hr').outerHeight(true); var descriptionHeight = $(document).find('.ays-pb-modal_' + id + ' .ays_pb_description').outerHeight(true); var timerHeight = $(document).find('.ays-pb-modal_' + id + ' .ays_pb_timer_' + id).outerHeight(true); var customHtml = $(document).find('.ays-pb-modal_' + id + ' .ays_content_box').outerHeight(true); if(h2Height == undefined){ h2Height = 0; } if(hrHeight == undefined){ hrHeight = 0; } if(descriptionHeight == undefined){ descriptionHeight = 0; } if(timerHeight == undefined){ timerHeight = 0; } if(customHtml == undefined){ customHtml = 0; } var aysConteinerHeight = (h2Height + descriptionHeight + timerHeight + customHtml + hrHeight); if(aysConteinerHeight < aysConteiner){ if(enableFullScreen){ aysConteinerHeight = (aysConteiner - 75) + 'px'; }else{ aysConteinerHeight = (aysConteiner - 55) + 'px'; } } switch(closeButtonPosition) { case 'left-top': closeButtonPositionValue = {top: '10px', left: '10px'}; break; case 'left-bottom': closeButtonPositionValue = {top: aysConteinerHeight, left: '10px'}; break; case 'right-bottom': closeButtonPositionValue = {top: aysConteinerHeight, right: '10px'}; break; default: closeButtonPositionValue = {top: '10px', right: '4%'}; break; } } else if (template == 'lil') { var closeButtonTop; if(enableFullScreen){ closeButtonTop = heightForPosition - 43 + (2 * borderSize); }else{ closeButtonTop = heightForPosition - 43 - (2 * borderSize); } switch(closeButtonPosition) { case 'left-top': closeButtonPositionValue = { top: '10px', left: '10px' }; break; case 'left-bottom': closeButtonPositionValue = { top: closeButtonTop + 'px', left: '10px' }; break; case 'right-bottom': closeButtonPositionValue = { top: closeButtonTop + 'px', right: '40px', bottom: 'auto', left: 'auto' }; break; default: closeButtonPositionValue = { top: '10px', right: '40px' }; break; } } else if (template == 'template') { var closeBttnImageExist = closeButtonImage != ''; switch(closeButtonPosition) { case 'left-top': var sidePostion = closeBttnImageExist ? 30 + 'px' : 20 + 'px'; closeButtonPositionValue = { top: '14px', left: sidePostion }; break; case 'left-bottom': var sidePostion = closeBttnImageExist ? 30 + 'px' : 16 + 'px'; closeButtonPositionValue = { bottom: '25px', left: sidePostion }; break; case 'right-bottom': var sidePostion = closeBttnImageExist ? 30 + 'px' : 16 + 'px'; closeButtonPositionValue = { bottom: '25px', right: sidePostion }; break; default: var sidePostion = closeBttnImageExist ? 30 + 'px' : 20 + 'px'; closeButtonPositionValue = { top: '14px', right: sidePostion }; break; } } else if (template == 'image' || template == 'minimal' || template == 'video') { switch(closeButtonPosition) { case 'left-top': if (enableFullScreen) { closeButtonPositionValue = { right: '97%' }; } else { closeButtonPositionValue = { top: (-25 - borderSize) + 'px', left: (-borderSize) + 'px' }; } break; case 'left-bottom': if (enableFullScreen) { closeButtonPositionValue = { top: '97%', right: '95%' }; } else { var close_btn_pos = -15 - borderSize; closeButtonPositionValue = { bottom: close_btn_pos + 'px', left: (-borderSize) + 'px' }; } break; case 'right-bottom': if (enableFullScreen) { closeButtonPositionValue = { top: '97%', left: '95%' }; } else { var close_btn_pos = -15 - borderSize; closeButtonPositionValue = { bottom: close_btn_pos + 'px', right: (-borderSize) + 26 + 'px' }; } break; default: if (template == 'image' || template == 'minimal') { var top = (enableFullScreen) ? (6 - borderSize) + 'px' : (-29 - borderSize) + 'px'; closeButtonPositionValue = { top: top, right: (-borderSize) + 26 + 'px' }; } if (template == 'video') { if (enableFullScreen) { closeButtonPositionValue = { right: '15px' }; } else { closeButtonPositionValue = { top: (-25 - borderSize) + 'px', right: (-borderSize) + 15 + 'px' }; } } break; } } closeButtonPositionValue.position = 'absolute'; $(document).find('.ays-pb-modal_' + id + ' .ays-pb-modal-close_' + id).css(closeButtonPositionValue); } function setCloseButtonText(closeButtonText, closeButtonImage, id, template) { var currentCloseBttnContainer = $(document).find('div.ays-pb-modal-close_' + id ); var defaultCloseIcon = ''; var text = ''; var closeBttnContainerClass = ''; switch(template) { case 'default': if(closeButtonImage != ""){ text = ""; }else{ if(closeButtonText === '✕'){ text = defaultCloseIcon; }else{ text = closeButtonText; } } currentCloseBttnContainer.html(text); break; case 'win98': text = closeButtonText; currentCloseBttnContainer.find('span').html(text); break; case 'lil': if(closeButtonImage != ""){ text = ""; }else{ text = closeButtonText; if(closeButtonText != '✕'){ closeBttnContainerClass = 'close-lil-btn-text'; } } currentCloseBttnContainer.find('a').addClass(closeBttnContainerClass); currentCloseBttnContainer.find('a').html(text); break; case 'image': case 'template': case 'minimal': case 'video': if(closeButtonImage != ""){ text = ""; }else{ text = closeButtonText; } currentCloseBttnContainer.find('div').html(text); break } } }) })( jQuery ); window.onload = function(){ var classList = document.body.classList; document.ontouchmove = function(e){ for( var i = 0; i < classList.length; i++ ){ if( classList[i].startsWith('pb_disable_scroll_') ){ if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) { e.preventDefault(); } break; } } } }; // source --> https://www.ramanaidufilmschool.net/wp-content/plugins/wp-ultimate-review/assets/public/script/content-page.js?ver=6.2.4 /*Ratting script*/ jQuery(document).ready(function () { jQuery('#xs_review_stars li').on('mouseover', function () { var onStar = parseInt(jQuery(this).data('value'), 10); // The star currently mouse on jQuery(this).parent().children('li.star-li').each(function (e) { if(e < onStar) { jQuery(this).addClass('hover'); } else { jQuery(this).removeClass('hover'); } }); }).on('mouseout', function () { jQuery(this).parent().children('li.star-li').each(function (e) { jQuery(this).removeClass('hover'); }); }); jQuery('#xs_review_stars li').on('click', function () { var onStar = parseInt(jQuery(this).data('value'), 10); // The star currently selected var stars = jQuery(this).parent().children('li.star-li'); for(i = 0; i < stars.length; i++) { jQuery(stars[i]).removeClass('selected'); } for(i = 0; i < onStar; i++) { jQuery(stars[i]).addClass('selected'); } var displayId = jQuery(this).parent().parent().children('input#ratting_review_hidden'); displayId.val(onStar); var msg = ""; if(onStar > 1) { msg = "" + onStar + ""; } else { msg = "" + onStar + " "; } responseMessage(msg); }); }); function responseMessage(msg) { jQuery('#review_data_show').fadeIn(200); jQuery('#review_data_show').html("" + msg + ""); } /*Slider range*/ jQuery(document).ready(function () { var sliderReview = jQuery("#xs_review_range"); var outputReview = jQuery("#review_data_show"); if(sliderReview.length > 0) { outputReview.html(sliderReview.val()); sliderReview.on('change', function () { outputReview.html(jQuery(this).val()); }); } }); jQuery(document).ready(function ($) { $('canvas.wur_pie').each(function (idx, elm) { draw_pic_chart(elm, idx); }); }); function draw_pic_chart(elm, color_index) { var idx = color_index % 10; var color_set = [ '#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf' ]; var base_color = '#555'; var arc_color = '#f00'; var stroke_wd = 10; var x = elm.width / 2; var y = elm.height / 2; var base = elm.dataset.base; var point = elm.dataset.rating; var radius = elm.dataset.rad || 40; var fill_up_angle = 360 * point / base; var s_angle = -90; var e_angle = s_angle + fill_up_angle; var startAngle = s_angle / 180 * Math.PI; var endAngle = e_angle / 180 * Math.PI; var counterClockwise = false; var context = elm.getContext('2d'); context.beginPath(); context.lineWidth = 3; context.strokeStyle = '#fff'; context.arc(x, y, radius, 0, 360); context.stroke(); context.beginPath(); context.lineWidth = 3; context.strokeStyle = color_set[idx]; context.arc(x, y, radius, startAngle, endAngle, counterClockwise); context.stroke(); return true; }; // source --> https://www.ramanaidufilmschool.net/wp-content/themes/turitor/assets/js/jquery.repeater.min.js?ver=1710156558 // jquery.repeater version 1.2.1 // https://github.com/DubFriend/jquery.repeater // (MIT) 09-10-2016 // Brian Detering (http://www.briandetering.net/) !function(a){"use strict";var b=function(a){return a},c=function(b){return a.isArray(b)},d=function(a){return!c(a)&&a instanceof Object},e=function(b,c){return a.inArray(c,b)},f=function(a,b){return e(a,b)!==-1},g=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c,a)},h=function(a){return a[a.length-1]},i=function(a){return Array.prototype.slice.call(a)},j=function(){var a={};return g(i(arguments),function(b){g(b,function(b,c){a[c]=b})}),a},k=function(a,b){var c=[];return g(a,function(a,d,e){c.push(b(a,d,e))}),c},l=function(a,b,c){var d={};return g(a,function(a,e,f){e=c?c(e,a):e,d[e]=b(a,e,f)}),d},m=function(a,b,d){return c(a)?k(a,b):l(a,b,d)},n=function(a,b){return m(a,function(a){return a[b]})},o=function(a,b){var d;return c(a)?(d=[],g(a,function(a,c,e){b(a,c,e)&&d.push(a)})):(d={},g(a,function(a,c,e){b(a,c,e)&&(d[c]=a)})),d},p=function(a,b,c){return m(a,function(a,d){return a[b].apply(a,c||[])})},q=function(a){a=a||{};var b={};return a.publish=function(a,c){g(b[a],function(a){a(c)})},a.subscribe=function(a,c){b[a]=b[a]||[],b[a].push(c)},a.unsubscribe=function(a){g(b,function(b){var c=e(b,a);c!==-1&&b.splice(c,1)})},a};!function(a){var b=function(a,b){var c=q(),d=a.$;return c.getType=function(){throw'implement me (return type. "text", "radio", etc.)'},c.$=function(a){return a?d.find(a):d},c.disable=function(){c.$().prop("disabled",!0),c.publish("isEnabled",!1)},c.enable=function(){c.$().prop("disabled",!1),c.publish("isEnabled",!0)},b.equalTo=function(a,b){return a===b},b.publishChange=function(){var a;return function(d,e){var f=c.get();b.equalTo(f,a)||c.publish("change",{e:d,domElement:e}),a=f}}(),c},i=function(a,c){var d=b(a,c);return d.get=function(){return d.$().val()},d.set=function(a){d.$().val(a)},d.clear=function(){d.set("")},c.buildSetter=function(a){return function(b){a.call(d,b)}},d},j=function(a,b){a=c(a)?a:[a],b=c(b)?b:[b];var d=!0;return a.length!==b.length?d=!1:g(a,function(a){f(b,a)||(d=!1)}),d},k=function(a){var b={},c=i(a,b);return c.getType=function(){return"button"},c.$().on("change",function(a){b.publishChange(a,this)}),c},l=function(b){var d={},e=i(b,d);return e.getType=function(){return"checkbox"},e.get=function(){var b=[];return e.$().filter(":checked").each(function(){b.push(a(this).val())}),b},e.set=function(b){b=c(b)?b:[b],e.$().each(function(){a(this).prop("checked",!1)}),g(b,function(a){e.$().filter('[value="'+a+'"]').prop("checked",!0)})},d.equalTo=j,e.$().change(function(a){d.publishChange(a,this)}),e},m=function(a){var b={},c=x(a,b);return c.getType=function(){return"email"},c},n=function(c){var d={},e=b(c,d);return e.getType=function(){return"file"},e.get=function(){return h(e.$().val().split("\\"))},e.clear=function(){this.$().each(function(){a(this).wrap("
").closest("form").get(0).reset(),a(this).unwrap()})},e.$().change(function(a){d.publishChange(a,this)}),e},o=function(a){var b={},c=i(a,b);return c.getType=function(){return"hidden"},c.$().change(function(a){b.publishChange(a,this)}),c},r=function(c){var d={},e=b(c,d);return e.getType=function(){return"file[multiple]"},e.get=function(){var a,b=e.$().get(0).files||[],c=[];for(a=0;a<(b.length||0);a+=1)c.push(b[a].name);return c},e.clear=function(){this.$().each(function(){a(this).wrap("").closest("form").get(0).reset(),a(this).unwrap()})},e.$().change(function(a){d.publishChange(a,this)}),e},s=function(a){var b={},d=i(a,b);return d.getType=function(){return"select[multiple]"},d.get=function(){return d.$().val()||[]},d.set=function(a){d.$().val(""===a?[]:c(a)?a:[a])},b.equalTo=j,d.$().change(function(a){b.publishChange(a,this)}),d},t=function(a){var b={},c=x(a,b);return c.getType=function(){return"password"},c},u=function(b){var c={},d=i(b,c);return d.getType=function(){return"radio"},d.get=function(){return d.$().filter(":checked").val()||null},d.set=function(b){b?d.$().filter('[value="'+b+'"]').prop("checked",!0):d.$().each(function(){a(this).prop("checked",!1)})},d.$().change(function(a){c.publishChange(a,this)}),d},v=function(a){var b={},c=i(a,b);return c.getType=function(){return"range"},c.$().change(function(a){b.publishChange(a,this)}),c},w=function(a){var b={},c=i(a,b);return c.getType=function(){return"select"},c.$().change(function(a){b.publishChange(a,this)}),c},x=function(a){var b={},c=i(a,b);return c.getType=function(){return"text"},c.$().on("change keyup keydown",function(a){b.publishChange(a,this)}),c},y=function(a){var b={},c=i(a,b);return c.getType=function(){return"textarea"},c.$().on("change keyup keydown",function(a){b.publishChange(a,this)}),c},z=function(a){var b={},c=x(a,b);return c.getType=function(){return"url"},c},A=function(b){var c={},f=b.$,h=b.constructorOverride||{button:k,text:x,url:z,email:m,password:t,range:v,textarea:y,select:w,"select[multiple]":s,radio:u,checkbox:l,file:n,"file[multiple]":r,hidden:o},i=function(b,e){var g=d(e)?e:f.find(e);g.each(function(){var d=a(this).attr("name");c[d]=h[b]({$:a(this)})})},j=function(b,i){var j=[],k=d(i)?i:f.find(i);d(i)?c[k.attr("name")]=h[b]({$:k}):(k.each(function(){e(j,a(this).attr("name"))===-1&&j.push(a(this).attr("name"))}),g(j,function(a){c[a]=h[b]({$:f.find('input[name="'+a+'"]')})}))};return f.is("input, select, textarea")?f.is('input[type="button"], button, input[type="submit"]')?i("button",f):f.is("textarea")?i("textarea",f):f.is('input[type="text"]')||f.is("input")&&!f.attr("type")?i("text",f):f.is('input[type="password"]')?i("password",f):f.is('input[type="email"]')?i("email",f):f.is('input[type="url"]')?i("url",f):f.is('input[type="range"]')?i("range",f):f.is("select")?f.is("[multiple]")?i("select[multiple]",f):i("select",f):f.is('input[type="file"]')?f.is("[multiple]")?i("file[multiple]",f):i("file",f):f.is('input[type="hidden"]')?i("hidden",f):f.is('input[type="radio"]')?j("radio",f):f.is('input[type="checkbox"]')?j("checkbox",f):i("text",f):(i("button",'input[type="button"], button, input[type="submit"]'),i("text",'input[type="text"]'),i("password",'input[type="password"]'),i("email",'input[type="email"]'),i("url",'input[type="url"]'),i("range",'input[type="range"]'),i("textarea","textarea"),i("select","select:not([multiple])"),i("select[multiple]","select[multiple]"),i("file",'input[type="file"]:not([multiple])'),i("file[multiple]",'input[type="file"][multiple]'),i("hidden",'input[type="hidden"]'),j("radio",'input[type="radio"]'),j("checkbox",'input[type="checkbox"]')),c};a.fn.inputVal=function(b){var c=a(this),d=A({$:c});return c.is("input, textarea, select")?"undefined"==typeof b?d[c.attr("name")].get():(d[c.attr("name")].set(b),c):"undefined"==typeof b?p(d,"get"):(g(b,function(a,b){d[b].set(a)}),c)},a.fn.inputOnChange=function(b){var c=a(this),d=A({$:c});return g(d,function(a){a.subscribe("change",function(a){b.call(a.domElement,a.e)})}),c},a.fn.inputDisable=function(){var b=a(this);return p(A({$:b}),"disable"),b},a.fn.inputEnable=function(){var b=a(this);return p(A({$:b}),"enable"),b},a.fn.inputClear=function(){var b=a(this);return p(A({$:b}),"clear"),b}}(jQuery),a.fn.repeaterVal=function(){var b=function(a){var b=[];return g(a,function(a,c){var d=[];"undefined"!==c&&(d.push(c.match(/^[^\[]*/)[0]),d=d.concat(m(c.match(/\[[^\]]*\]/g),function(a){return a.replace(/[\[\]]/g,"")})),b.push({val:a,key:d}))}),b},c=function(a){if(1===a.length&&(0===a[0].key.length||1===a[0].key.length&&!a[0].key[0]))return a[0].val;g(a,function(a){a.head=a.key.shift()});var b,d=function(){var b={};return g(a,function(a){b[a.head]||(b[a.head]=[]),b[a.head].push(a)}),b}();return/^[0-9]+$/.test(a[0].head)?(b=[],g(d,function(a){b.push(c(a))})):(b={},g(d,function(a,d){b[d]=c(a)})),b};return c(b(a(this).inputVal()))},a.fn.repeater=function(c){c=c||{};var d;return a(this).each(function(){var e=a(this),f=c.show||function(){a(this).show()},i=c.hide||function(a){a()},k=e.find("[data-repeater-list]").first(),l=function(b,c){return b.filter(function(){return!c||0===a(this).closest(n(c,"selector").join(",")).length})},p=function(){return l(k.find("[data-repeater-item]"),c.repeaters)},q=k.find("[data-repeater-item]").first().clone().hide(),r=l(l(a(this).find("[data-repeater-item]"),c.repeaters).first().find("[data-repeater-delete]"),c.repeaters);c.isFirstItemUndeletable&&r&&r.remove();var s=function(){var a=k.data("repeater-list");return c.$parent?c.$parent.data("item-name")+"["+a+"]":a},t=function(b){c.repeaters&&b.each(function(){var b=a(this);g(c.repeaters,function(a){b.find(a.selector).repeater(j(a,{$parent:b}))})})},u=function(a,b,c){a&&g(a,function(a){c.call(b.find(a.selector)[0],a)})},v=function(b,c,d){b.each(function(b){var e=a(this);e.data("item-name",c+"["+b+"]"),l(e.find("[name]"),d).each(function(){var f=a(this),g=f.attr("name").match(/\[[^\]]+\]/g),i=g?h(g).replace(/\[|\]/g,""):f.attr("name"),j=c+"["+b+"]["+i+"]"+(f.is(":checkbox")||f.attr("multiple")?"[]":"");f.attr("name",j),u(d,e,function(d){var e=a(this);v(l(e.find("[data-repeater-item]"),d.repeaters||[]),c+"["+b+"]["+e.find("[data-repeater-list]").first().data("repeater-list")+"]",d.repeaters)})})}),k.find("input[name][checked]").removeAttr("checked").prop("checked",!0)};v(p(),s(),c.repeaters),t(p()),c.initEmpty&&p().remove(),c.ready&&c.ready(function(){v(p(),s(),c.repeaters)});var w=function(){var d=function(e,f,h){if(f||c.defaultValues){var i={};l(e.find("[name]"),h).each(function(){var b=a(this).attr("name").match(/\[([^\]]*)(\]|\]\[\])$/)[1];i[b]=a(this).attr("name")}),e.inputVal(m(o(f||c.defaultValues,function(a,b){return i[b]}),b,function(a){return i[a]}))}u(h,e,function(b){var c=a(this);l(c.find("[data-repeater-item]"),b.repeaters).each(function(){var e=c.find("[data-repeater-list]").data("repeater-list");if(f&&f[e]){var h=a(this).clone();c.find("[data-repeater-item]").remove(),g(f[e],function(a){var e=h.clone();d(e,a,b.repeaters||[]),c.find("[data-repeater-list]").append(e)})}else d(a(this),b.defaultValues,b.repeaters||[])})})};return function(b,e){k.append(b),v(p(),s(),c.repeaters),b.find("[name]").each(function(){a(this).inputClear()}),d(b,e||c.defaultValues,c.repeaters)}}(),x=function(a){var b=q.clone();w(b,a),c.repeaters&&t(b),f.call(b.get(0))};d=function(a){p().remove(),g(a,x)},l(e.find("[data-repeater-create]"),c.repeaters).click(function(){x()}),k.on("click","[data-repeater-delete]",function(){var b=a(this).closest("[data-repeater-item]").get(0);i.call(b,function(){a(b).remove(),v(p(),s(),c.repeaters)})})}),this.setList=d,this}}(jQuery); // source --> https://www.ramanaidufilmschool.net/wp-includes/js/underscore.min.js?ver=1.13.4 /*! This file is auto-generated */ !function(n,r){var t,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define("underscore",r):(n="undefined"!=typeof globalThis?globalThis:n||self,t=n._,(e=n._=r()).noConflict=function(){return n._=t,e})}(this,function(){var n="1.13.6",r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,F=Object.prototype,V="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=F.toString,q=F.hasOwnProperty,t="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=t&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),r=Array(n),t=0;t":">",'"':""","'":"'","`":"`"},qn=Pn(t),t=Pn(An(t)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,r,t,e,u){return e instanceof r?(e=En(n.prototype),o(r=n.apply(e,u))?r:e):n.apply(t,u)}var M=l(function(u,o){function i(){for(var n=0,r=o.length,t=Array(r),e=0;e